package com.start.core.annotations;


import io.swagger.v3.oas.annotations.media.Schema;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
public @interface RegisterMenu {
    String value();

    int openType() default 0;

    int directionType() default 0;

    @Schema(name = "系统编码")
    String systemCode();

    @Schema(name = "组件名称")
    String component();

    @Schema(name = "菜单访问路径")
    String path();

    @Schema(name = "父级菜单Id")
    String parentId() default "" ;
}
